package com.ruowei.modules.foodOrder.web.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.Instant;
import java.util.List;

@Data
public class OrderDetailsDTO {

    @ApiModelProperty(value = "当前系统时间")
    private Instant currentTime;

    @ApiModelProperty(value = "状态 待支付、待接单、商家已接单、配送员已接单、已送达、退款中、已退款、退款失败")
    private String status;

    @ApiModelProperty(value = "收货人姓名")
    private String receiverName;

    @ApiModelProperty(value = "收货人电话")
    private String receiverPhone;

    @ApiModelProperty(value = "收货人地址")
    private String receiverAddress;

    @ApiModelProperty(value = "生成时间")
    private Instant createTime;

    @ApiModelProperty(value = "支付方式")
    private String payType;

    @ApiModelProperty(value = "配送员姓名")
    private String courierName;

    @ApiModelProperty(value = "配送员编码")
    private String courierCode;

    @ApiModelProperty(value = "配送员电话")
    private String courierPhone;

    @ApiModelProperty(value = "订单备注")
    private String remark;

    @ApiModelProperty(value = "总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "实付金额")
    private BigDecimal payAmount;

    @ApiModelProperty(value = "总包装费")
    private BigDecimal totalPackingFee;

    @ApiModelProperty(value = "商家编码")
    private String merchantCode;

    @ApiModelProperty(value = "商家名称")
    private String merchantName;

    @ApiModelProperty(value = "商家照片")
    private String photos;

    @ApiModelProperty(value = "商家电话")
    private String phone;

    @ApiModelProperty(value = "商品列表")
    private List<GoodsListDTO> goodsList;
}
